	//日期控件默认配置
$.fn.datepicker.defaults.autoclose = true;
$.fn.datepicker.defaults.language = 'zh-CN';
$.fn.datepicker.defaults.format = 'yyyy-mm-dd';
$.fn.datepicker.defaults.todayBtn = 'linked';
$.fn.datepicker.defaults.todayHighlight = true;


//datatable 国际化
var oLanguage = {
	    "sProcessing":   "处理中...",
	    "sLengthMenu":   "显示 _MENU_ 项结果",
	    "sZeroRecords":  "没有匹配结果",
	    "sInfo":         "显示第 _START_ 至 _END_ 项结果，共 _TOTAL_ 项",
	    "sInfoEmpty":    "显示第 0 至 0 项结果，共 0 项",
	    "sInfoFiltered": "(由 _MAX_ 项结果过滤)",
	    "sInfoPostFix":  "",
	    "sSearch":       "搜索:",
	    "sUrl":          "",
	    "sEmptyTable":     "表中数据为空",
	    "sLoadingRecords": "载入中...",
	    "sInfoThousands":  ",",
	    "oPaginate": {
	        "sFirst":    "首页",
	        "sPrevious": "上页",
	        "sNext":     "下页",
	        "sLast":     "末页"
	    },
	    "oAria": {
	        "sSortAscending":  ": 以升序排列此列",
	        "sSortDescending": ": 以降序排列此列"
	    }
};


//拖拽上传组件
Dropzone.prototype.defaultOptions.dictDefaultMessage = 
	'<span class="bigger-150 bolder"><i class="icon-caret-right red"></i>拖动文件</span> 上传 \
	<span class="smaller-80 grey">(或者点击)</span> <br /> \
	<i class="upload-icon icon-cloud-upload blue icon-3x"></i>';
Dropzone.prototype.defaultOptions.dictFallbackMessage = "上传组件不支持IE10以下版本!";
//	    dictFallbackText: "Please use the fallback form below to upload your files like in the olden days.",
Dropzone.prototype.defaultOptions.dictFileTooBig = "文件太大 ({{filesize}}M).支持最大文件: {{maxFilesize}}M.";
Dropzone.prototype.defaultOptions.dictInvalidFileType = "你不能上传此文件类型的文件.";
//	    dictResponseError: "Server responded with {{statusCode}} code.",
Dropzone.prototype.defaultOptions.dictCancelUpload = "取消上传";
Dropzone.prototype.defaultOptions.dictCancelUploadConfirmation = "你确认要取消上传此文件?";
Dropzone.prototype.defaultOptions.dictRemoveFile = "删除";
Dropzone.prototype.defaultOptions.dictMaxFilesExceeded = "你不能上传更多文件.";
